package com.bee2c.pub.util.service;import org.springframework.stereotype.Service;import org.springframework.transaction.annotation.Propagation;import org.springframework.transaction.annotation.Transactional;@Servicepublic class SingleTransactionServiceImpl implements SingleTransactionService {	@Override	@Transactional(rollbackFor = Exception.class, propagation = Propagation.REQUIRES_NEW)	public <T> T performTransaction(Executor<T> executor){		return executor.execute();	}}